/**
 * 
 */
package model;

/**
 * @ Authors:
 * 
 * @Veronique De Laet
 * @Johan Willems
 * @Pierre Delaere
 * 
 * @version 2011
 */
public abstract class ReportDecorator extends ReportComponent {

	private ReportComponent myTrailer;
	
	public ReportDecorator(ReportComponent component) {
		myTrailer = component;
	}
	
	public void callTrailer ()
	{
		if (myTrailer != null) {
			myTrailer.prtFactoryReport();
		}
	}
}
